package Test01;

/**
 * @author 彪哥
 * @version 1.0
 */
//书籍编号，书籍名称，书籍作者
public class Book {  //书籍类
    // 书籍编号
    private int bookID ;
    //书籍名称
    private String bookName ;
    //书籍作者
    private String bookAuthor  ;

    public Book(int bookID, String bookName, String bookAuthor) {
        this.bookID = bookID;
        this.bookName = bookName;
        this.bookAuthor = bookAuthor;
    }

    public int getBookID() {
        return bookID;
    }

    public void setBookID(int bookID) {
        this.bookID = bookID;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public String getBookAuthor() {
        return bookAuthor;
    }

    public void setBookAuthor(String bookAuthor) {
        this.bookAuthor = bookAuthor;
    }

    public Book() {
    }

    @Override
    public String toString() {
        return "书籍编号：" + bookID +
                ", 书籍名称：" + bookName +
                ", 书籍作者：" + bookAuthor;
    }
}
